package com.soilflow.common.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;

import com.soilflow.common.mybatisplus.BaseEntity;
import com.soilflow.common.mybatisplus.BasePageEntity;
import lombok.Data;

/** 
@author dhp 
@date 2023/4/21 - 14:17
*/
/**
    * 菜品分类
    */
@Data
@TableName(value = "land_classify")
public class LandClassify  extends BaseEntity {
    /**
     * 主键
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 分类名称
     */
    @TableField(value = "name")
    private String name;

    /**
     * 分类id
     */
    @TableField(value = "parent_id")
    private Long parentId;


    /**
     * 备注
     */
    @TableField(value = "remark")
    private String remark;

    /**
     * 祖级列表
     */
    @TableField(value = "ancestors")
    private String ancestors;
}